package com.cjw.mapper.database;

import com.cjw.pojo.entity.database.Role;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertUseGeneratedKeysMapper;

import java.util.List;

@Repository
public interface RoleMapper extends Mapper<Role>, InsertUseGeneratedKeysMapper<Role> {
    List<Role> queryByUserId(Long userId);
}
